package com.etc.team2.service;

import java.util.ArrayList;
import java.util.List;

import com.etc.team2.bean.StaToSta;
import com.etc.team2.dao.STSDAO;

public class StaToStaService {
	private STSDAO dao=null;
	
	public StaToStaService(){
		dao=new STSDAO();
	}
	
	public List<List> getStaToSta(String sname,String ename)
	{
		List<List> list=dao.Exchange(sname, ename);
		return  list;
	}

}
